<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生管理</title>
</head>
<body>
        <form th:method="post" th:action="@{/selectStudentById}" >
            <table>
                <tr>
                    <td><input type="submit"></td>
                </tr>
            </table>
        </form>

        <form th:method="post" th:action="@{/selectStudent}" >
              <table>
                  <tr>
                      <td>查询学生</td>
                      <td><input type="text" name="sId" ></td>
                      <td><input type="submit"></td>
                  </tr>
              </table>
          </form>
        <form method="post" th:action="@{/delectStudent}" >
            <table>
                <tr>
                    <td>删除学生</td>
                    <td><input type="text" name="sId" ></td>
                    <td><input type="submit"></td>
                </tr>
            </table>
        </form>
        <a>更新个人信息</a>
        <form method="post" th:action="@{/updateStudent}" >
            <table>
                <tr>
                    <td><input type="text" name="sId" >学号</td>
                    <td><input type="text" name="sName" >姓名</td>
                    <td><input type="submit">提交</td>
                </tr>
            </table>
        </form>

        <a>注册个人信息</a>
        <form method="post" th:action="@{/insertStudent}" >
            <table>
                <tr>
                    <td><input type="text" name="sId" >学号</td>
                    <td><input type="text" name="sName" >姓名</td>
                    <td><input type="submit">注册</td>
                </tr>
            </table>
        </form>
</body>
</html>
